package com.woniu.mgr.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 通知表
 * </p>
 *
 * @author Silas
 * @since 2023-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("yoga_notice")
public class Notice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "notice_id", type = IdType.AUTO)
    private Integer noticeId;

    /**
     * 发起教练id
     */
    private Integer coachId;

    /**
     * 发起教练名
     */
    private String coachName;

    /**
     * 接收用户id
     */
    private Integer userId;

    /**
     * 接收用户名
     */
    private String userName;

    /**
     * 发送时间
     */
    private LocalDateTime sendTime;

    /**
     * 内容
     */
    private String message;


}
